package com.rongji.cms.tools.db.constant;

/**
 * @author yang
 * @date 2023/1/29 11:28
 * @description 数据库相关常量类
 */

public class DbConstant {

    /**
     * 进行比较的第一个数据库名称
     */
    public final static String DB_A = "db_a";
    /**
     * 进行比较的第二个数据库名称
     */
    public final static String DB_B = "db_b";

    /**
     * 策略类里要执行的方法名
     */
    public final static String METHOD_NAME = "getFromResult";
    //    mysql
    public final static String MYSQL_DRIVER = "com.mysql.cj.jdbc.Driver";
    public final static String MYSQL_TABLE_NAME = "show tables";
    // oracle
    public final static String ORACLE_DRIVER = "oracle.jdbc.driver.OracleDriver";
    public final static String ORACLE_TABLE_NAME = " select table_name  from tabs  ";

}
